package com.meng.service.impl;

import com.meng.model.PointOfSale;
import com.meng.service.inter.PointOfSaleService;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * 上传黑名单记录 service
 *
 * @author MENG
 * @version 2018/4/13
 * @see
 */
@Service("uploadBlackListRecordService")
public class UploadBlackListRecordServiceImpl implements PointOfSaleService
{
    /**
     * 将黑名单记录数据 保存mysql
     *
     * @param pointOfSaleList
     */
    @Override
    public void insert(List<PointOfSale> pointOfSaleList)
    {
        if(pointOfSaleList.size() == 0)
        {
            return;
        }

        for (PointOfSale pointOfSale : pointOfSaleList)
        {
            System.out.println(pointOfSale);
        }
    }
}
